package org.example.cloudapply.dto;

import jakarta.validation.constraints.Min;
import lombok.Data;


@Data
public class PageDTO {
    @Min(value = 1, message = "页码不能小于1")
    private Integer page = 1;

    @Min(value = 1, message = "每页数量不能小于1")
    private Integer pageSize = 10;
}